﻿//---------------------------------------------------------------------------------------------
//  Copyright 2009 Jeremy Palenchar
//  http://identitynotes.palenchar.net
//
//  This file is part of the Identity Notes Identity Notes Sample Custom Activity Library.
//
//  The Identity Notes Sample Custom Activity Library is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  The Identity Notes Sample Custom Activity Library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//  
//  You should have received a copy of the GNU General Public License
//  along with The Identity Notes Sample Custom Activity Library.  If not, see <http://www.gnu.org/licenses/>.
//--------------------------------------------------------------------------------------------

using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace IdentityNotes.Examples.CustomActivityLibrary
{
    public partial class SendEmailToMobilePhoneActivity
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            this.SendEmail = new IdentityNotes.Examples.CustomActivityLibrary.SendEmailActivity();
            this.CalcCellEmailAddress = new IdentityNotes.Examples.CustomActivityLibrary.CalcCellEmailAddressActivity();
            // 
            // SendEmail
            // 
            activitybind1.Name = "SendEmailToMobilePhoneActivity";
            activitybind1.Path = "EmailBody";
            activitybind2.Name = "SendEmailToMobilePhoneActivity";
            activitybind2.Path = "From";
            this.SendEmail.Name = "SendEmail";
            activitybind3.Name = "SendEmailToMobilePhoneActivity";
            activitybind3.Path = "Subject";
            activitybind4.Name = "CalcCellEmailAddress";
            activitybind4.Path = "CellPhoneEmailAddress";
            this.SendEmail.SetBinding(IdentityNotes.Examples.CustomActivityLibrary.SendEmailActivity.EmailBodyProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.SendEmail.SetBinding(IdentityNotes.Examples.CustomActivityLibrary.SendEmailActivity.FromProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.SendEmail.SetBinding(IdentityNotes.Examples.CustomActivityLibrary.SendEmailActivity.SubjectProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.SendEmail.SetBinding(IdentityNotes.Examples.CustomActivityLibrary.SendEmailActivity.ToProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // CalcCellEmailAddress
            // 
            this.CalcCellEmailAddress.CellPhoneEmailAddress = null;
            activitybind5.Name = "SendEmailToMobilePhoneActivity";
            activitybind5.Path = "CellNumber";
            activitybind6.Name = "SendEmailToMobilePhoneActivity";
            activitybind6.Path = "CellOperator";
            this.CalcCellEmailAddress.Name = "CalcCellEmailAddress";
            this.CalcCellEmailAddress.OperatorEmailDictionary = new string[] {
        "T-Mobile:@tmomail.net ",
        "TMobile:@tmomail.net",
        "Virgin:@vmobl.com ",
        "Cingular:@cingularme.com ",
        "Sprint:@messaging.sprintpcs.com",
        "Verizon:@vtext.com",
        "Nextel:@messaging.nextel.com ",
        "AT&T:@txt.att.net",
        "ATT:@txt.att.net",
        "TMobileDE:@t-d1-sms.de",
        "Vodafone:@vodafone-sms.de",
        "O2:@o2online.de",
        "E-Plus:@smsmail.eplus.de ",
        "TestOperator:@palenchar.net"};
            this.CalcCellEmailAddress.SetBinding(IdentityNotes.Examples.CustomActivityLibrary.CalcCellEmailAddressActivity.CellPhoneOperatorProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.CalcCellEmailAddress.SetBinding(IdentityNotes.Examples.CustomActivityLibrary.CalcCellEmailAddressActivity.CellPhoneNumberProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // SendEmailToMobilePhoneActivity
            // 
            this.Activities.Add(this.CalcCellEmailAddress);
            this.Activities.Add(this.SendEmail);
            this.Name = "SendEmailToMobilePhoneActivity";
            this.CanModifyActivities = false;

        }

        #endregion

        private CalcCellEmailAddressActivity CalcCellEmailAddress;
        private SendEmailActivity SendEmail;

























    }
}
